package org.openmore.opc.service;


import org.openmore.opc.dto.BaseResponse;
import org.openmore.opc.service.feignFactory.TestInterfaceFeignFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "openmore-storage", fallbackFactory = TestInterfaceFeignFactory.class)
public interface TestInterface {


    @GetMapping(value = "/api/resources/testAuth")
    BaseResponse addProduct(@RequestParam("str") String userId);

}
